package org.jsola.hr.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.jsola.core.Page;
import org.jsola.core.Result;
import org.jsola.hr.dto.TransferAccountsZfbSafetyBatchAddDTO;
import org.jsola.hr.dto.TransferAccountsZfbSafetyBatchUpdateDTO;
import org.jsola.hr.query.TransferAccountsZfbSafetyBatchQuery;
import org.jsola.hr.vo.TransferAccountsZfbSafetyBatchListVO;
import org.jsola.hr.vo.TransferAccountsZfbSafetyBatchVO;

import java.util.List;

/**
 * 转账批次(支付宝安全发)
 *
 * @author zhr
 */
@Api(tags = "hr-转账批次(支付宝安全发)")
public interface ITransferAccountsZfbSafetyBatchControllerAPI {

    /**
     * 新增转账批次(支付宝安全发)
     * @param transferAccountsZfbSafetyBatchAddDTO 转账批次(支付宝安全发)新增实体
     * @return 转账批次(支付宝安全发)展示对象
     */
    @ApiOperation(value = "新增转账批次(支付宝安全发)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchAddDTO", dataType = "TransferAccountsZfbSafetyBatchAddDTO", value = "新增转账批次(支付宝安全发)", paramType = "body")
    })
    Result<TransferAccountsZfbSafetyBatchVO> save(TransferAccountsZfbSafetyBatchAddDTO transferAccountsZfbSafetyBatchAddDTO);


    /**
     * 修改转账批次(支付宝安全发)
     * @param transferAccountsZfbSafetyBatchUpdateDTO 转账批次(支付宝安全发)
     * @return 更新数量
     */
    @ApiOperation(value = "修改转账批次(支付宝安全发)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchUpdateDTO", dataType = "TransferAccountsZfbSafetyBatchUpdateDTO", value = "修改转账批次(支付宝安全发)", paramType = "body")
    })
    Result<Integer> update(TransferAccountsZfbSafetyBatchUpdateDTO transferAccountsZfbSafetyBatchUpdateDTO);




    /**
     * 删除单个转账批次(支付宝安全发)，彻底删除
     * @param transferAccountsZfbSafetyBatchId 转账批次(支付宝安全发)id
     * @return 删除数量
     */
    @ApiOperation(value="删除单个转账批次(支付宝安全发)，彻底删除")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchId", dataType = "String", value = "转账批次(支付宝安全发)id", paramType = "path")
    })
    Result<Integer> delete(String transferAccountsZfbSafetyBatchId);


    /**
     * 批量删除转账批次(支付宝安全发)，彻底删除
     * @param transferAccountsZfbSafetyBatchIds 转账批次(支付宝安全发)id集合
     * @return 删除数量
     */
    @ApiOperation(value = "批量删除转账批次(支付宝安全发)，彻底删除")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchIds", dataType = "String[]", value = "转账批次(支付宝安全发)id数组", paramType = "body" ,allowMultiple = true)
    })
    Result<Integer> deleteBatch(String[] transferAccountsZfbSafetyBatchIds);


    /**
     * 根据转账批次(支付宝安全发)id查询转账批次(支付宝安全发)详情
     * @param transferAccountsZfbSafetyBatchId 转账批次(支付宝安全发)id
     * @return 转账批次(支付宝安全发)详情
     */
    @ApiOperation(value="根据转账批次(支付宝安全发)id查询转账批次(支付宝安全发)详情")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchId", dataType = "String", value = "转账批次(支付宝安全发)id", paramType = "path")
    })
    Result<TransferAccountsZfbSafetyBatchVO> findById(String transferAccountsZfbSafetyBatchId);


    /**
     * 查询转账批次(支付宝安全发)
     * @param transferAccountsZfbSafetyBatchQuery 转账批次(支付宝安全发)查询参数
     * @return page
     */
    @ApiOperation(value="查询转账批次(支付宝安全发)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchQuery", dataType = "TransferAccountsZfbSafetyBatchQuery", value = "转账批次(支付宝安全发)查询参数", paramType = "query")
    })
    Result<List<TransferAccountsZfbSafetyBatchListVO>> listAll(TransferAccountsZfbSafetyBatchQuery transferAccountsZfbSafetyBatchQuery);


     /**
     * 分页查询转账批次(支付宝安全发)
     * @param transferAccountsZfbSafetyBatchQuery 转账批次(支付宝安全发)查询参数
     * @return page
     */
    @ApiOperation(value="分页查询转账批次(支付宝安全发)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyBatchQuery", dataType = "TransferAccountsZfbSafetyBatchQuery", value = "转账批次(支付宝安全发)查询参数", paramType = "query")
    })
    Result<Page<TransferAccountsZfbSafetyBatchListVO>> page(TransferAccountsZfbSafetyBatchQuery transferAccountsZfbSafetyBatchQuery);


}

